package com.cbs.module.social.ui.discussion.test.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import com.cbs.application.activity.CBSActivity;
import com.cbs.module.social.ui.discussion.test.R;
import com.cbs.android.module.discussion.utils.Constants;

/**
 * Created by broche on 11/18/15.
 */
public class MainActivity extends CBSActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        Button button = (Button) findViewById(R.id.main_button);
        button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(MainActivity.this, SummaryActivity.class);
                intent.putExtra(Constants.SubjectId, 23);
                startActivity(intent);
            }
        });
    }
}
